G = 33
N = 2
alpha = c(0.55,0.75,0.54,0.23,0.43,0.56,0.72,0.67,0.47,0.54)
y = c(91.15,121.29,100.49,93.48,107.64,127.22,98.34,74.08,85.57,100.62)
#u = array(0, dim=array(N, dim=N))

utility <- function(x){
	u = array(0, dim=N)
	for(i in 1:N){
		u[i] = y[i] - x[i] + alpha*sum(x)
	}
	return(u)
}

for(x1 in 1:floor(y[1]))
for(x2 in 1:floor(y[2])){
	x=c(x1,x2)
	plot(utility(x))
}
